package com.xyht.sca_s.student_manage_system.modules.assetConsumableBorrow.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.assetConsumableBorrow.entity.SmsAssetConsumableBorrowApply;
import com.xyht.sca_s.student_manage_system.modules.assetConsumableBorrow.entity.req.SmsAssetConsumableBorrowApplyAllowReq;
import com.xyht.sca_s.student_manage_system.modules.assetConsumableBorrow.entity.req.SmsAssetConsumableBorrowApplyReq;

/**
 * <p>
 * 低值易耗品领用申请 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-06-30
 */
public interface SmsAssetConsumableBorrowApplyService extends IService<SmsAssetConsumableBorrowApply> {

    ResponseResult smsAssetConsumableBorrowApplyAdd(SmsAssetConsumableBorrowApplyReq applyReq, String userId);

    ResponseResult smsAssetConsumableBorrowApplyCancel(SmsAssetConsumableBorrowApplyReq cancelReq, String userId);

    ResponseResult smsAssetConsumableBorrowApplyAllow(SmsAssetConsumableBorrowApplyAllowReq allowReq, String userId);

    ResponseResult getAssetConsumableBorrowApplyList(Integer pageSize, Integer pageNum, Integer applyType, String userId);

    ResponseResult getAssetConsumableBorrowApplyDetail(String applyId, String userId);

    ResponseResult selectAllAssetConsumableBorrowApply(String applyPerson, String applyDepartment, Integer pageSize, Integer pageNum);

    ResponseResult selectDetail(String id);
}
